﻿using AutoMapper;
using B.S.Meeting.Domain;
using B.S.Meeting.WriteAPI.Applications.Commands.MeetingRooms;
using B.S.Meeting.WriteAPI.Applications.Commands.Users;

namespace B.S.Meeting.WriteAPI
{
    public class MappingProfiles: Profile
    {
        public MappingProfiles() 
        { 
            CreateMap<User,AddUserCommand>().ReverseMap();
            CreateMap<MeetingRoom,DelRoomCommand>().ReverseMap();
            CreateMap<User,UpdUserCommand>().ReverseMap();
        }
    }
}
